﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_UserControls_Location : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ConfigTable cTab = ConfigTable.GetThisPageConfigTable();
        this.location.Text = cTab.GetLocationText();

        if (Request.Url.AbsolutePath.ToLower().EndsWith("edit.aspx"))
        {            
            if (Request.QueryString["type"].ToLower() == "edit")
            {
                this.location.Text += ">>修改";
            }
            else
            {
                this.location.Text += ">>添加";
            }
        }
    }
}
